<template>
  <div class="fuyunmu4 base-background-img">
    <div class="an" @click="playFun(an)">
        <img src="~@/assets/youxiaoxianjie/fuyunmu/4/an.png">
    </div>
    <div class="en" @click="playFun(en)">
        <img src="~@/assets/youxiaoxianjie/fuyunmu/4/en.png">
    </div>
    <div class="in" @click="playFun(in1)">
        <img src="~@/assets/youxiaoxianjie/fuyunmu/4/in.png">
    </div>
    <c-pdf @closePdf="closePdf" v-if="isshowpdf" :info="info" :infourl="pdfurl"></c-pdf>
  </div>
</template>

<script>
  export default {
    name: 'fuyunmu4',
    data () {
      return {
        isshowpdf: false,
        infourl: '',
        info: '',
        an: {
          url: 'static/youxiao/pdf/fuyunmu/an.pdf',
          data: []
        },
        en: {
          url: 'static/youxiao/pdf/fuyunmu/en.pdf',
          data: []
        },
        in1: {
          url: 'static/youxiao/pdf/fuyunmu/in.pdf',
          data: []
        }
      }
    },
    methods: {
      playFun: function (item) {
        console.log(item)
        this.isshowpdf = true
        this.pdfurl = item.url
        this.info = item.data
      },
      closePdf: function () {
        this.isshowpdf = false
      }
    }
  }
</script>

<style scoped>
.fuyunmu4 {
  background: url(~@/assets/youxiaoxianjie/fuyunmu/4/bg.png);
}
.fuyunmu4 > div {
  position: absolute; 
}
.an {
  top: 290px;
  left: 193px;
}
.en {
  top: 310px;
  left: 560px;
}
.in {
  top: 270px;
  left: 900px;
}
</style>
